getColor

abstract fun getColor(block: DesignBlock, property: String): Color

Get the value of a color property of the given design block.

Return

the value of the property.

Parameters

block

the block whose property should be queried.

property

the name of the property to set.